

<div class="main-content  row">
	<?php echo form_open('account/login','class="form-horizontal"');?>
	
		<div class="control-group">
			<label for='username' class='control-label'><s>*</s>用户名 : </label>
			 <div class="controls">
				 <input type="text" class="control-text  span-width span6" name='username' placeholder="username">
				 <span class="auxiliary-text">  管理账户的名称</span>
			 </div>
		</div>
		
		<div class="control-group">
			  <label for='password'  class='control-label'><s>*</s>密码 : </label>
			  <div class="controls">
				  <input type="text" class="control-text span-width span6" name='password' placeholder="password">
				  <span class="auxiliary-text">  管理账户的密码</span>
			  </div>
		 </div>
		 
		 <div class="control-group">
			  <label for='captcha'  class='control-label'><s>*</s>验证码 : </label>
			  <div class="controls" >
				  <input type="text" class="control-text span-width span3" name='captcha' placeholder="captcha">&nbsp;&nbsp;<span id='captcha'><?php echo $captcha;?></span>
			  </div>
		 </div>
		 
		 
		 
		 <label class="checkbox">
          <!--<select name='rememberaccount'>
			<option value='0'>--免登陆--</option>
			<option value='<?php //echo mktime(0,0,0,date('m'),date('d')+1,date('Y'))-time();?>'>今天</a>
			<option value='86400'>一天</option>
			<option value='604800'>一周</option>
			<option value='2592000'>一个月</option>
			<option value='7776000'>三个月</option>
		  </select>
		  <input type="checkbox" name='rememberaccount'>下次自动登录-->
        </label>
		
		<div class="actions-bar">
		<input type='submit' class='button button-primary' name='submit' value='登录'>
		<input type='reset' class='button' value='重填'>
		</div>
	
	<?php echo form_close();?>
</div>
<script>
	$('#captcha').click(function (){
		get_captcha($(this),'admin');
	});
</script>